|
Geo is a microformat used for marking up WGS84 geographical coordinates (latitude;longitude) in (X)HTML.〔(【引用サイトリンク】title=Geo Spec )〕 Although termed a "draft" specification, this is a formality, and the format is stable and in widespread use;〔(【引用サイトリンク】title=Extending HTML5 — Microformats )〕 not least as a sub-set of the published hCalendar〔(【引用サイトリンク】title=hCalendar 1.0 Spec )〕 and hCard〔(【引用サイトリンク】title=hCard 1.0 Spec )〕 microformat specifications, neither of which is still a draft.〔〔 Use of Geo allows parsing tools (for example other websites, or Firefox's Operator extension) to extract the locations, and display them using some other website or mapping tool, or to load them into a GPS device, index or aggregate them, or convert them into an alternative format. ==Usage== *If latitude is present, so must be longitude, and vice versa. *The same number of decimal places should be used in each value, including trailing zeroes.〔''Must'' and ''should'' are used per the IETF document (RFC 2119 )〕 The Geo microformat is applied using three HTML classes. For example, the marked-up text:
becomes:
by adding the class-attribute values "geo", "latitude" and "longitude". This will display
and a geo microformat for that location, Belvide Reservoir, which will be detected, on this page, by microformat parsing tools. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Geo (microformat)」の詳細全文を読む スポンサード リンク
|